package com.hbqyml.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hbqyml.common.annotation.Excel;
import com.hbqyml.common.core.domain.BaseEntity;

/**
 * 地区对象 hb_region
 * 
 * @author houyutong
 * @date 2022-03-25
 */
public class HbRegion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地区表id */
    private Integer regionId;

    /** 地区名 */
    @Excel(name = "地区名")
    private String regionName;

    /** 是否推荐(0不推荐1推荐) */
    @Excel(name = "是否推荐(0不推荐1推荐)")
    private Integer regionType;

    /** 上级id */
    @Excel(name = "上级id")
    private Integer regionOldId;

    /** 是否开启(0开启1关闭) */
    @Excel(name = "是否开启(0开启1关闭)")
    private Integer regionStatus;

    public void setRegionId(Integer regionId) 
    {
        this.regionId = regionId;
    }

    public Integer getRegionId() 
    {
        return regionId;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }
    public void setRegionType(Integer regionType) 
    {
        this.regionType = regionType;
    }

    public Integer getRegionType() 
    {
        return regionType;
    }
    public void setRegionOldId(Integer regionOldId) 
    {
        this.regionOldId = regionOldId;
    }

    public Integer getRegionOldId() 
    {
        return regionOldId;
    }
    public void setRegionStatus(Integer regionStatus) 
    {
        this.regionStatus = regionStatus;
    }

    public Integer getRegionStatus() 
    {
        return regionStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regionId", getRegionId())
            .append("regionName", getRegionName())
            .append("regionType", getRegionType())
            .append("regionOldId", getRegionOldId())
            .append("regionStatus", getRegionStatus())
            .toString();
    }
}
